from datetime import date

import common_def as common
import one_time_repay
import repay_list


def test_one_time_repay():
    repay_lst = one_time_repay.one_time_repay(10000, 0.0003, 0.005, 12, date.today())
    common.format_repay_lst(repay_lst)


def test_equal_loan_payment():
    repay_lst = repay_list.equal_loan_pay(10000, 0.0003, 0.005, 12, date.today())
    common.format_repay_lst(repay_lst)


# test_one_time_repay()
test_equal_loan_payment()
